package com.haixiaoke.saas.contract.service;


import com.haixiaoke.saas.contract.domain.HouseCommission;

import java.util.List;

/**
 * 房屋委托信息Service接口
 *
 * @author xiaolong
 * @date 2024-06-06
 */
public interface IHouseCommissionService {
    /**
     * 查询房屋委托信息
     *
     * @param houseCommissionId 房屋委托信息主键
     * @return 房屋委托信息
     */
    HouseCommission selectHouseCommissionByHouseCommissionId(Long houseCommissionId);

    /**
     * 查询房屋委托信息列表
     *
     * @param houseCommission 房屋委托信息
     * @return 房屋委托信息集合
     */
    List<HouseCommission> selectHouseCommissionList(HouseCommission houseCommission);

    /**
     * 新增房屋委托信息
     *
     * @param houseCommission 房屋委托信息
     * @return 结果
     */
    int insertHouseCommission(HouseCommission houseCommission);

    /**
     * 修改房屋委托信息
     *
     * @param houseCommission 房屋委托信息
     * @return 结果
     */
    int updateHouseCommission(HouseCommission houseCommission);

    /**
     * 批量删除房屋委托信息
     *
     * @param houseCommissionIds 需要删除的房屋委托信息主键集合
     * @return 结果
     */
    int deleteHouseCommissionByHouseCommissionIds(Long[] houseCommissionIds);

    /**
     * 删除房屋委托信息信息
     *
     * @param houseCommissionId 房屋委托信息主键
     * @return 结果
     */
    int deleteHouseCommissionByHouseCommissionId(Long houseCommissionId);

    HouseCommission selectHouseCommissionByProprietorId(Long proprietorId);

}
